package com.xiaohai.big_event_system.service;

import com.xiaohai.big_event_system.projo.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author author
 * @since 2025-01-15
 */
public interface IUserService extends IService<User> {
    /**
     * 查询用户
     * @param username
     * @return
     */
    User findByUserName(String username);

    /**
     * 注册用户
     * @param username
     * @param password
     */
    void register(String username, String password);
}
